let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n112,
                    i =
                    (this && this.__extends) ||
                    ((_n112 = function n(t, e) {
                            return (_n112 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n112(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.ItemActor = void 0);
                var r = t('AbsActor'),
                    a = t('BuffCfg'),
                    s = t('BuffInfo'),
                    c = (function(t) {
                        function e(e) {
                            var o = t.call(this) || this;
                            return (
                                a.BuffCfg.ins.getData(e) ?
                                ((o._value = new s.BuffInfo(e)),
                                    o.setType(r.ActorType.Buff),
                                    o.loadModel('Prefab/Item/' + o._value.icon)) :
                                ((o._value = e),
                                    o.setType(r.ActorType.Money),
                                    o.loadModel('Prefab/Item/money')),
                                (o.entity.scale = 0.25),
                                o
                            );
                        }
                        return (
                            i(e, t),
                            Object.defineProperty(e.prototype, 'value', {
                                get: function get() {
                                    return this._value;
                                },
                                enumerable: !1,
                                configurable: !0
                            }),
                            (e.prototype.onInitModel = function(e) {
                                t.prototype.onInitModel.call(this, e),
                                    cc
                                    .tween(e)
                                    .bezierBy(0.3, cc.v2(0, 70), cc.v2(0, 280), cc.v2(0, 0))
                                    .start();
                            }),
                            (e.prototype.onDestroy = function() {
                                (this._value = null), t.prototype.onDestroy.call(this);
                            }),
                            e
                        );
                    })(r.AbsActor);
                (o.ItemActor = c), console.log("end");
            module.exports =  e.exports;